/*
 * GAQCAException.h
 *
 *  Created on: Oct 15, 2014
 *      Author: lfelipe
 */

#ifndef GAQCAEXCEPTION_H_
#define GAQCAEXCEPTION_H_

#include <string>
#include <exception>

class GAQCAException: public std::exception
{
    std::string cause_;
public:
    GAQCAException(){}
    GAQCAException(std::string cause=" "):cause_(cause){}
    virtual const char* what() const throw(){
        return cause_.c_str();
    }
     virtual ~GAQCAException()  throw(){}

};

#endif /* GAQCAEXCEPTION_H_ */
